import re
p_title = '<a class="post-item-title" href=".*?">(.*?)</a>'
title = re.findall(p_title, '<a class="post-item-title" href="https://www.cnblogs.com/zhili/p/11111111.html">'
                            'Python爬虫入门</a>',re.S)
print(title)